<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Tugas Besar 1 PBO IF2032: Bidang Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Tugas Besar 1 PBO IF2032
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_bidang.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">Bidang Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_bidang_8h_source.html">Bidang.h</a>&gt;</code></p>

<p><a href="class_bidang-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0b19d0de2e76071e87a69eaa69a55665"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bidang.html#a0b19d0de2e76071e87a69eaa69a55665">Bidang</a> (const int n, <a class="el" href="class_point.html">Point</a> *P)</td></tr>
<tr class="memitem:aa03a2e47b0f151b3ec19c398dbcd73f7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bidang.html#aa03a2e47b0f151b3ec19c398dbcd73f7">Bidang</a> (const <a class="el" href="class_bidang.html">Bidang</a> &amp;X)</td></tr>
<tr class="memitem:a97acf7ca27daa027d3c448c590760c63"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_bidang.html">Bidang</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bidang.html#a97acf7ca27daa027d3c448c590760c63">operator=</a> (const <a class="el" href="class_bidang.html">Bidang</a> &amp;X)</td></tr>
<tr class="memitem:a38b07efd9cf4cc772792044ae97569ce"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bidang.html#a38b07efd9cf4cc772792044ae97569ce">~Bidang</a> ()</td></tr>
<tr class="memitem:ab31a8fde63019cdb94ac149b89a88717"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bidang.html#ab31a8fde63019cdb94ac149b89a88717">GetN</a> ()</td></tr>
<tr class="memitem:a8102b8143599badbb02f3a35be4c7680"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bidang.html#a8102b8143599badbb02f3a35be4c7680">GetContent</a> ()</td></tr>
<tr class="memitem:aa0a0c24ad96b65f4429dad4d2597320f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_point.html">Point</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bidang.html#aa0a0c24ad96b65f4429dad4d2597320f">GetSudutN</a> (const int n)</td></tr>
<tr class="memitem:afecbdc302b9b82b28178e7c30017bb54"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bidang.html#afecbdc302b9b82b28178e7c30017bb54">inLatar</a> (int a, int b, int c, int d)</td></tr>
<tr class="memitem:a2eafd5182d22ee31f27f9e72bd48f3da"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bidang.html#a2eafd5182d22ee31f27f9e72bd48f3da">Sweep</a> ()</td></tr>
<tr class="memitem:ad594567c65cdc7da7e319752bdd2c76a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bidang.html#ad594567c65cdc7da7e319752bdd2c76a">Move</a> (int x, int y)</td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a9d98cc6c89c3ab128a198d365b72b010"><td class="memItemLeft" align="right" valign="top">ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bidang.html#a9d98cc6c89c3ab128a198d365b72b010">operator&lt;&lt;</a> (ostream &amp;stream, const <a class="el" href="class_bidang.html">Bidang</a> &amp;B)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Kelas <a class="el" href="class_bidang.html">Bidang</a> </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a0b19d0de2e76071e87a69eaa69a55665"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_bidang.html#a0b19d0de2e76071e87a69eaa69a55665">Bidang::Bidang</a> </td>
          <td>(</td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_point.html">Point</a> *&#160;</td>
          <td class="paramname"><em>P</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Konstruktor kelas bidang </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td>jumlah segi yang dimiliki oleh <a class="el" href="class_bidang.html">Bidang</a> </td></tr>
    <tr><td class="paramname">P</td><td>Lokasi Seluruh Sudut(Segi) yang dimiliki oleh <a class="el" href="class_bidang.html">Bidang</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa03a2e47b0f151b3ec19c398dbcd73f7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_bidang.html#a0b19d0de2e76071e87a69eaa69a55665">Bidang::Bidang</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_bidang.html">Bidang</a> &amp;&#160;</td>
          <td class="paramname"><em>X</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Copy konstruktor kelas bidang </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">X</td><td><a class="el" href="class_bidang.html">Bidang</a> original </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a38b07efd9cf4cc772792044ae97569ce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_bidang.html#a38b07efd9cf4cc772792044ae97569ce">Bidang::~Bidang</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destruktor dari kelas bidang </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a8102b8143599badbb02f3a35be4c7680"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char <a class="el" href="class_bidang.html#a8102b8143599badbb02f3a35be4c7680">Bidang::GetContent</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Mengembalikan isi dari bidang (Asumsi isi dari bidang homogen) </p>
<dl class="section return"><dt>Returns:</dt><dd>Isi dari bidang </dd></dl>

</div>
</div>
<a class="anchor" id="ab31a8fde63019cdb94ac149b89a88717"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_bidang.html#ab31a8fde63019cdb94ac149b89a88717">Bidang::GetN</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Mengembalikan banyak sudut dari bidang </p>
<dl class="section return"><dt>Returns:</dt><dd>Jumlah sudut dari bidang </dd></dl>

</div>
</div>
<a class="anchor" id="aa0a0c24ad96b65f4429dad4d2597320f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_point.html">Point</a> &amp; <a class="el" href="class_bidang.html#aa0a0c24ad96b65f4429dad4d2597320f">Bidang::GetSudutN</a> </td>
          <td>(</td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Mengembalikan <a class="el" href="class_point.html">Point</a> dari sudut ke-n </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td>sudut ke </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd><a class="el" href="class_point.html">Point</a> dari sudut ke n </dd></dl>

</div>
</div>
<a class="anchor" id="afecbdc302b9b82b28178e7c30017bb54"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_bidang.html#afecbdc302b9b82b28178e7c30017bb54">Bidang::inLatar</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>d</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Mengecek apabila suatu bidang segi4 dengan bottomleft(a,c) dan topright(b,d) berada dalam latar </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">a</td><td></td></tr>
    <tr><td class="paramname">b</td><td></td></tr>
    <tr><td class="paramname">c</td><td></td></tr>
    <tr><td class="paramname">d</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>suatu bidang segi4 dengan bottomleft(a,c) dan topright(b,d) berada dalam latar </dd></dl>

</div>
</div>
<a class="anchor" id="ad594567c65cdc7da7e319752bdd2c76a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_bidang.html#ad594567c65cdc7da7e319752bdd2c76a">Bidang::Move</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Menggeser seluruh sudut(segi) pad bidang sebanyak (x,y) </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>Absis </td></tr>
    <tr><td class="paramname">y</td><td>Ordinat </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a97acf7ca27daa027d3c448c590760c63"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_bidang.html">Bidang</a> &amp; Bidang::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_bidang.html">Bidang</a> &amp;&#160;</td>
          <td class="paramname"><em>X</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operator assignment kelas bidang </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">X</td><td><a class="el" href="class_bidang.html">Bidang</a> original </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>reference terhadap bidang </dd></dl>

</div>
</div>
<a class="anchor" id="a2eafd5182d22ee31f27f9e72bd48f3da"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_bidang.html#a2eafd5182d22ee31f27f9e72bd48f3da">Bidang::Sweep</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Menghapus semua sudut bidang dan mengganti seluruh konten menjadi * </p>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a9d98cc6c89c3ab128a198d365b72b010"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ostream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_bidang.html">Bidang</a> &amp;&#160;</td>
          <td class="paramname"><em>B</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operator Stream Output untuk kelas <a class="el" href="class_bidang.html">Bidang</a> </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">stream</td><td>Buffer Output </td></tr>
    <tr><td class="paramname">B</td><td>Suatu <a class="el" href="class_bidang.html">Bidang</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Output Stream </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>D:/OOP/tubes1/src/Bidang/<a class="el" href="_bidang_8h_source.html">Bidang.h</a></li>
<li>D:/OOP/tubes1/src/Bidang/Bidang.cpp</li>
</ul>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_bidang.html">Bidang</a>      </li>

    <li class="footer">Generated on Thu Mar 8 2012 22:46:44 for Tugas Besar 1 PBO IF2032 by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.0 </li>
   </ul>
 </div>


</body>
</html>
